package com.translate.web.param;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import com.translate.web.constant.ValidateCondtionAndMessage;
import com.translate.web.param.contract.IFollowUpPlan;

public class FollowUpPlanAddparam implements IFollowUpPlan {

	/**
	 * 计划类型 0 短信 1 电话 2微信分享3 qq分享，4 客户拜访提醒，5跟进模板计划
	 */
	@NotNull
	@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
	@Max(value = ValidateCondtionAndMessage.MIN_PLAN_TYPE_STATUS, message = ValidateCondtionAndMessage.MIN_PLAN_TYPE_STATUS_MSG)
	private Byte planType;

	private int createUserId;
	
	/**
	 * 状态 0 未执行 1 已执行
	 */
	@NotNull
	@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
	@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
	private Byte status;

	
	public Byte getStatus() {
		return status;
	}

	public void setStatus(Byte status) {
		this.status = status;
	}

	/**
	 * 客户编号
	 */
	@NotNull
	@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
	private Integer customerId;

	/**
	 * 跟进时间
	 */

	@NotNull
	@Min(value = ValidateCondtionAndMessage.MIN_CREATE_TIME, message = ValidateCondtionAndMessage.CREATE_TIME_BY_MSG)
	private Long followTime;

	/**
	 * 跟进标题
	 */
	@NotNull
	@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG)
	private String title;

	/**
	 * 拜访内容
	 */
	@NotNull
	@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG)
	private String visitContent;

	/**
	 * 计划类型 0 短信 1 电话 2微信分享3 qq分享，4 客户拜访提醒，5跟进模板计划
	 * 
	 * @author 111
	 * @date 2023-04-10 14:38:08
	 * @return plan_type 计划类型 0 短信 1 电话 2微信分享3 qq分享，4 客户拜访提醒，5跟进模板计划
	 */
	public Byte getPlanType() {
		return planType;
	}

	/**
	 * 计划类型 0 短信 1 电话 2微信分享3 qq分享，4 客户拜访提醒，5跟进模板计划
	 * 
	 * @author 111
	 * @date 2023-04-10 14:38:08
	 * @param planType 计划类型 0 短信 1 电话 2微信分享3 qq分享，4 客户拜访提醒，5跟进模板计划
	 */
	public void setPlanType(Byte planType) {
		this.planType = planType;
	}

	/**
	 * 客户编号
	 * 
	 * @author 111
	 * @date 2023-04-10 14:38:08
	 * @return customer_id 客户编号
	 */
	public Integer getCustomerId() {
		return customerId;
	}

	/**
	 * 客户编号
	 * 
	 * @author 111
	 * @date 2023-04-10 14:38:08
	 * @param customerId 客户编号
	 */
	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}

	/**
	 * 跟进时间
	 * 
	 * @author 111
	 * @date 2023-04-10 14:38:08
	 * @return follow_time 跟进时间
	 */
	public Long getFollowTime() {
		return followTime;
	}

	/**
	 * 跟进时间
	 * 
	 * @author 111
	 * @date 2023-04-10 14:38:08
	 * @param followTime 跟进时间
	 */
	public void setFollowTime(Long followTime) {
		this.followTime = followTime;
	}

	/**
	 * 跟进标题
	 * 
	 * @author 111
	 * @date 2023-04-10 14:38:08
	 * @return title 跟进标题
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * 跟进标题
	 * 
	 * @author 111
	 * @date 2023-04-10 14:38:08
	 * @param title 跟进标题
	 */
	public void setTitle(String title) {
		this.title = title == null ? null : title.trim();
	}

	/**
	 * 拜访内容
	 * 
	 * @author 111
	 * @date 2023-04-10 14:38:08
	 * @return visit_content 拜访内容
	 */
	public String getVisitContent() {
		return visitContent;
	}

	/**
	 * 拜访内容
	 * 
	 * @author 111
	 * @date 2023-04-10 14:38:08
	 * @param visitContent 拜访内容
	 */
	public void setVisitContent(String visitContent) {
		this.visitContent = visitContent == null ? null : visitContent.trim();
	}

	public int getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(int createUserId) {
		this.createUserId = createUserId;
	}
}